<script setup>
// import { ref, computed } from 'vue';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
// import en from 'element-plus/dist/locale/en.mjs';

// const language = ref('zh-cn');
// const locale = computed(() => {
//   return language.value === 'zh-cn' ? zhCn : en;
// });



// const changeLanguage = () => {
//   language.value = language.value === 'zh-cn' ? 'en' : 'zh-cn';
// }
</script>


<template>
  <div>
    <el-config-provider :locale="zhCn">
      <router-view></router-view>
      <!-- <el-button type="text" @click="changeLanguage" style="padding-left: 30px;">中英文切换</el-button> -->
    </el-config-provider>

  </div>
</template>

<style scoped></style>
